# coding=utf8
import itchat
itchat.auto_login(hotReload=True)
friends = itchat.get_friends()
i = 1
for friend in friends:
    print('-%03d-------------------' % i)
    for key in friend:
        print('%s:%s' % (key, friend[key]))
    i += 1
    if friend['RemarkName'] == '杨科':
        itchat.send_msg('科别', toUserName=friend['UserName'])


